package edu.sctu.java.decorator;

import java.io.*;

public class Main {

    public static void main(String[] args) {


        DataSource dataSource = new CompressionDataSource(
                new EncryptionDataSource(
                        new FileDataSource()
                )
        );

        String data = dataSource.read();
        System.out.println(data);

    }
}
